package com.cloud.admin.common.core.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Ztree树结构实体类
 * 
 * @author douhaichao
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Ztree
{
    /** 节点ID */
    private Integer id;

    /** 节点父ID */
    @JsonProperty("pId")
    private Integer pId;

    /** 节点名称 */
    private String name;

    /** 节点标题 */
    private String title;

    /** 是否勾选 */
    private boolean checked = false;

    /** 是否展开 */
    private boolean open = false;

    /** 是否能勾选 */
    private boolean nocheck = false;
}
